from abc import ABC, abstractmethod

class BaseOptimizerPlugin(ABC):
    """优化器插件基类"""
    
    @abstractmethod
    def create_optimizer(self, model, config):
        """创建优化器实例"""
        pass